package com.baturu.vin.benz.dal.entity;

import com.baturu.vin.constant.BtrVinCodePatternStatus;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author liangguanglong
 * @date 2/1/16
 * @description 新版 vin码奔驰解析规则
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BenzVinPatternEntity {

    /**
     * 主键
     */
    private Integer id;

    private int vinid;

    private String vin;

    private String date;

    /**
     * 生产年月日
     */
    private Date productDateTime;

    /**
     * sa代码
     */
    private String saCode;

    /**
     * 内饰
     */
    private String innerStyle;

    /**
     * 车身颜色
     */
    private String outStyle;

    /**
     * vin码
     */
    private String vinCode;

    /**
     * 对应的新版的车型id
     */
    private String btrId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 状态
     * @see BtrVinCodePatternStatus
     */
    private Integer status;

    /**
     *`engie` varchar(150) DEFAULT NULL,
     `transmission` varchar(150) DEFAULT NULL,
     `ClassNo` varchar(63) DEFAULT NULL,
     `carmodel` varchar(150) DEFAULT NULL,

     `vinpre3` varchar(255) DEFAULT NULL COMMENT 'VIN前三位',
     `carmodel` varchar(255) DEFAULT NULL COMMENT '车型',
     `dateyear` varchar(255) DEFAULT NULL COMMENT '生产年',
     `engie` varchar(255) DEFAULT NULL COMMENT '发动机型号',
     `transmission` varchar(255) DEFAULT NULL COMMENT '变速箱型号',
     `ClassNo` varchar(255) DEFAULT NULL COMMENT '底盘号',
     */
    private String vinpre3;
    private String carmodel;
    private String dateyear;
    private String engie;
    private String transmission;
    private String ClassNo;

}
